By default, when a validator returns false, the remaining validation checks are aborted, but that parameter is also configurable for each individual validator. 默认情况下,如果一个验证器返回false,则剩余的验证检查都将取消,但这个参数也可以对单个验证器进行配置。
Since XMLEXISTS truly checks for the existence of a value, even the existence of the value "false" satisfies XMLEXISTS so that any document qualifies for the result set. 由于XMLEXISTS实际上是检查值的存在,甚至“false”值的存在也将满足XMLEXISTS,因此任何文档都可以成为结果集。
Bool is_empty ( const path&): If the path corresponds to a folder, this function checks whether the folder is empty and returns True accordingly. boolisempty(constpath&):如果路径与文件夹对应,此函数将检查文件夹是否为空,并据此返回“True”或“False”。
Note that XMLEXISTS truly checks for the existence of a value and evaluates to true if a value exists, even if that value happens to be the Boolean value "false". 注意,XMLEXISTS只是检查一个值的存在,如果存在一个值,即使这个值碰巧为Boolean值“false”,XMLEXISTS也将返回true。
Checks for a condition, and if the condition is false, displays a message and prompts the user to break into the debugger. 检查条件,如果该条件为false,则显示消息并提示用户中断至启动调试器。
Checks for a condition and displays a message if the condition is false. 检查条件,如果该条件为false,则显示消息。
Checks for a condition and displays both specified messages if the condition is false. 检查条件,如果条件为false,则显示两条指定的消息。